<template>
  <div style="width: 100%;height: 150px;background-color: chocolate">

  </div>
  title:{{title}}<br/>
  userName:{{userName}}<br/>


</template>

<script setup>
const props = defineProps(['title','userName']) //子组件用来接收父组件的参数



</script>

<style scoped>

</style>